package com.woniu.mall.constant;

import java.math.BigDecimal;

/**
 * 1. @description:
 * 2. @author: Lingger
 * 3. @time: 2023/5/22
 */

public class PlatformRedisKey {
    //优惠券类型：红包
    public static final String RED_ENVELOPE = "Red-envelope:";
    //优惠券类型：天天神券
    public static final String TIANTIAN_COUPON = "Tiantian-coupon:";
    //优惠券类型：分区优惠券
    public static final String Zone_COUPON = "Zone-coupon:";

    //一个月红包价格
    public static final BigDecimal RED_ENVELOPE_PRICE = new BigDecimal(15);

    //红包默认数量6个/月
    public static final int NUMBER = 6;

    //优惠券面额
    public static final int AMOUNT_5 = 5;
    public static final int AMOUNT_10 = 10;
    public static final int AMOUNT_20 = 20;
    public static final int AMOUNT_50 = 50;
    public static final int AMOUNT_100 = 100;

    //天天神券最低起用金额
    public static final int STARTING_AMOUNT = 20;
    //天天神券起用金额随机数生成范围0-20
    public static final int MIN_STARTING_AMOUNT = 20;
    //天天神券随机金额0-7
    public static final int RANDOM_AMOUNT = 7;
    //天天神券最低金额
    public static final int MIN_AMOUNT = 3;

    //酒店民宿优惠劵
    public static final String HOTELS_HOMESTAYS = "HotelsHomestays:";
    //休闲玩乐优惠券
    public static final String LEISURE_PLAY = "LeisurePlay:";
    //饮品小吃优惠券
    public static final String BEVERAGES_SNACKS = "BeveragesSnacks:";
    //超市便利优惠券
    public static final String SUPERMARKET_CONVENIENCE = "SupermarketConvenience:";
    //品质百货优惠券
    public static final String QUALITY_DEPARTMENT = "QualityDepartment:";
    //看病买药优惠券
    public static final String BUY_MEDICINE = "BuyMedicine:";
}
